package com.situ.mall.service;

import com.situ.imall.util.JSONResult;
import com.situ.imall.util.LayUiTableDataUtil;
import com.situ.mall.pojo.Product;

public interface IProductService {
    Product selectById(Integer id);

    LayUiTableDataUtil selectByPage(Integer page, Integer limit);
    public LayUiTableDataUtil addProduct(Product product);


    LayUiTableDataUtil deleteProductById(Integer id);

    JSONResult deleteAll(String[] idArray);

}
